package com.xinpu.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xinpu.dto.PhotoClassifyDto;
import com.xinpu.mapper.PhotoClassifyMapper;
import com.xinpu.service.PhotoClassifyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * PhotoClassifyServiceImpl
 *
 * @author ayuan
 * @date 2021/5/11
 */
@Service
public class PhotoClassifyServiceImpl implements PhotoClassifyService {

    @Autowired
    private PhotoClassifyMapper photoClassifyMapper;

    /**
     * 图文分类列表
     *
     * @param page
     * @return
     */
    @Override
    public IPage<PhotoClassifyDto> getList(Page<PhotoClassifyDto> page) {
        return photoClassifyMapper.getList(page);
    }
}
